import request from '../utils/request'

// 获取面经列表的方法
export const articleListAPI = params => {
  return request({
    url: '/h5/interview/query',
    params: params
  })
}
// 获取单个面试题详情
export const getArticleDetail = id => {
  return request.get('/h5/interview/show', {
    params: {
      id
    }
  })
}
// 点赞,收藏,取消点赞,取消收藏
export const updateLikeAndCollect = data => {
  return request.post('/h5/interview/opt', data)
}
